<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct key</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../boost_process/v2.html#doxygen.environment_8hpp" title="Header &lt;boost/process/v2/environment.hpp&gt;">
<link rel="prev" href="structboost_1_1process_1_1v2_1_1environment_1_1current__view_1_1iterator.html" title="Struct iterator">
<link rel="next" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair.html" title="Struct key_value_pair">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1process_1_1v2_1_1environment_1_1current__view_1_1iterator.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost_process/v2.html#doxygen.environment_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct key</span></h2>
<p>boost::process::v2::environment::key — A class representing a key within an environment. </p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../mpi/reference.html#doxygen.environment_8hpp" title="Header &lt;boost/mpi/environment.hpp&gt;">boost/process/v2/environment.hpp</a>&gt;

</span>
<span class="keyword">struct</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">{</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">char_type</span>                                   <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a478524dceb2c102627c921e4c284bb42"></a><span class="identifier">value_type</span><span class="special">;</span>      
  <span class="keyword">typedef</span> <span class="identifier">key_char_traits</span><span class="special">&lt;</span> <span class="identifier">char_type</span> <span class="special">&gt;</span>                <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1adf8c8e53916b95fab8948a2177243b76"></a><span class="identifier">traits_type</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">char_type</span><span class="special">,</span> <span class="identifier">traits_type</span> <span class="special">&gt;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a0068c61ba0f95d584269b06630b1addf"></a><span class="identifier">string_type</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <span class="identifier">basic_string_view</span><span class="special">&lt;</span> <span class="identifier">char_type</span><span class="special">,</span> <span class="identifier">traits_type</span> <span class="special">&gt;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1aac1372369e83ae2da66b0e993538a2cb"></a><span class="identifier">string_view_type</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="boost_container_header_reference/classboost_1_1container_1_1flat__multimap.html#id30-bb">public member functions</a></span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1aefc51f64704d47fc3694901393156c95"><span class="identifier">key</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a99b42833110d47733315a6c865411ce0"><span class="identifier">key</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a2cbfa5cfcc10522e69afb5f8e2b87742"><span class="identifier">key</span></a><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1aae4e9ad30d45ebb6d7bc2e325423d32d"><span class="identifier">key</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a9ad009d219db66ce2c12303ab5b9642a"><span class="identifier">key</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a471d83f8610f67382422f4b1d86c0e0c"><span class="identifier">key</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a698a7aef071b6ebdf7ada432c47e7641"><span class="identifier">key</span></a><span class="special">(</span><span class="identifier">value_type</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">explicit</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a766acfb803fdc29f5140843f7fc09ef0"><span class="identifier">key</span></a><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__view.html" title="Struct key_view">key_view</a><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> 
    <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ab2fd09adc0ed56c3f28d5729b511e09d"><span class="identifier">key</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">decltype</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">declval</span><span class="special">&lt;</span> <span class="identifier">Source</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">)</span><span class="special">.</span><span class="identifier">data</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">nullptr</span><span class="special">,</span> 
        <span class="keyword">decltype</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">declval</span><span class="special">&lt;</span> <span class="identifier">Source</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">)</span><span class="special">.</span><span class="identifier">size</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="special">=</span> <span class="number">0u</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a5e490d96b82b7122cf7b55f2c081a329"><span class="identifier">key</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">typename</span> <span class="identifier">conditional</span><span class="special">&lt;</span> <span class="identifier">is_same</span><span class="special">&lt;</span> <span class="identifier">value_type</span><span class="special">,</span> <span class="keyword">char</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">value</span><span class="special">,</span> <span class="keyword">wchar_t</span><span class="special">,</span> <span class="keyword">char</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> InputIt<span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ab7b42fc2435c5d182a2c8e6e016bc5c5"><span class="identifier">key</span></a><span class="special">(</span><span class="identifier">InputIt</span><span class="special">,</span> <span class="identifier">InputIt</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ab9c2291d3c3b03aeddbeb8336fbf58b4"><span class="special">~</span><span class="identifier">key</span></a><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a85ebc3d502be59e61117641997646014"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1abdc5db3f9878b3e145d561c8d611b2ce"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a446dfd20b3b1e0412861bf2844bbe845"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a60b68580b885123119e46204f0e5b168"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ad54e94d3b52877a8b20a422b1ef666b9"><span class="identifier">assign</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a3a4fb4a729a306479bc0e29e588c0241"><span class="identifier">assign</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> InputIt<span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a455704464de39ffb8982abe6f1a5bf8c"><span class="identifier">assign</span></a><span class="special">(</span><span class="identifier">InputIt</span><span class="special">,</span> <span class="identifier">InputIt</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a39e46c60a0e4f0a2a49fb32c9a1ba64f"><span class="identifier">clear</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1aa1f2bc731c6cb2efd5c638a7b59283bb"><span class="identifier">swap</span></a><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a9b92c9c285f78d24a7a7718936239279"><span class="identifier">c_str</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1acb7dc57b6562d98d53d416b2db976757"><span class="identifier">native</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">string_view_type</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a620fe6d0a024ddd780bd27f8b7f8bbb9"><span class="identifier">native_view</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a7eb537e61c42685cbcf85c4a7cf4fd74"><span class="keyword">operator</span> <span class="identifier">string_type</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a4f06b83edec9b93eb8b95ec4bef524ed"><span class="keyword">operator</span> <span class="identifier">string_view_type</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ae863bd65d68e7fd8b25ebe3f4444e90d"><span class="identifier">compare</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1acbe35ae0ca718327949bb07b7dc3cc4a"><span class="identifier">compare</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a1b4bfe4eb77ebf5b5438d7ab6b9cd5c2"><span class="identifier">compare</span></a><span class="special">(</span><span class="identifier">string_view_type</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ab1fa5c43629d4e2c06c843abfc284f9b"><span class="identifier">compare</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span><span class="special">,</span> 
           <span class="keyword">typename</span> Alloc <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">allocator</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span> <span class="special">&gt;</span> 
    <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">&gt;</span> 
    <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1af438c55e7905df00709fdb8f08a33a1c"><span class="identifier">basic_string</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Alloc</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">Alloc</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a43e1e7aa42a3f40a34bbd20984d947c2"><span class="identifier">string</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1aab1fa03b990758eebea05c274da15464"><span class="identifier">wstring</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a58a7b72bc43758e09a49323259b936b3"><span class="identifier">native_string</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ae8387f4df275387ff638e0d4c5d9e474"><span class="identifier">empty</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a67bc3d978c6e0f28b7ef49642648830d"><span class="identifier">data</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1af80ac3529d042c25a7ac8ac91f16e8d9"><span class="identifier">size</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.30.5.8.5.4.4"></a><h2>Description</h2>
<div class="refsect2">
<a name="id-1.3.30.5.8.5.4.4.2"></a><h3>
<a name="id30-bb"></a><code class="computeroutput">key</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1aefc51f64704d47fc3694901393156c95"></a><span class="identifier">key</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a99b42833110d47733315a6c865411ce0"></a><span class="identifier">key</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> p<span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a2cbfa5cfcc10522e69afb5f8e2b87742"></a><span class="identifier">key</span><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1aae4e9ad30d45ebb6d7bc2e325423d32d"></a><span class="identifier">key</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a9ad009d219db66ce2c12303ab5b9642a"></a><span class="identifier">key</span><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a471d83f8610f67382422f4b1d86c0e0c"></a><span class="identifier">key</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> raw<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a698a7aef071b6ebdf7ada432c47e7641"></a><span class="identifier">key</span><span class="special">(</span><span class="identifier">value_type</span> <span class="special">*</span> raw<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">explicit</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a766acfb803fdc29f5140843f7fc09ef0"></a><span class="identifier">key</span><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__view.html" title="Struct key_view">key_view</a> kv<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> 
  <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ab2fd09adc0ed56c3f28d5729b511e09d"></a><span class="identifier">key</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span> source<span class="special">,</span> 
      <span class="keyword">decltype</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">declval</span><span class="special">&lt;</span> <span class="identifier">Source</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">)</span><span class="special">.</span><span class="identifier">data</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">nullptr</span><span class="special">,</span> 
      <span class="keyword">decltype</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">declval</span><span class="special">&lt;</span> <span class="identifier">Source</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">)</span><span class="special">.</span><span class="identifier">size</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="special">=</span> <span class="number">0u</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a5e490d96b82b7122cf7b55f2c081a329"></a><span class="identifier">key</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">typename</span> <span class="identifier">conditional</span><span class="special">&lt;</span> <span class="identifier">is_same</span><span class="special">&lt;</span> <span class="identifier">value_type</span><span class="special">,</span> <span class="keyword">char</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">value</span><span class="special">,</span> <span class="keyword">wchar_t</span><span class="special">,</span> <span class="keyword">char</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">*</span> raw<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> InputIt<span class="special">&gt;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ab7b42fc2435c5d182a2c8e6e016bc5c5"></a><span class="identifier">key</span><span class="special">(</span><span class="identifier">InputIt</span> first<span class="special">,</span> <span class="identifier">InputIt</span> last<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ab9c2291d3c3b03aeddbeb8336fbf58b4"></a><span class="special">~</span><span class="identifier">key</span><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a85ebc3d502be59e61117641997646014"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> p<span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1abdc5db3f9878b3e145d561c8d611b2ce"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a446dfd20b3b1e0412861bf2844bbe845"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a60b68580b885123119e46204f0e5b168"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ad54e94d3b52877a8b20a422b1ef666b9"></a><span class="identifier">assign</span><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a3a4fb4a729a306479bc0e29e588c0241"></a><span class="identifier">assign</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> InputIt<span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a455704464de39ffb8982abe6f1a5bf8c"></a><span class="identifier">assign</span><span class="special">(</span><span class="identifier">InputIt</span> first<span class="special">,</span> <span class="identifier">InputIt</span> last<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a39e46c60a0e4f0a2a49fb32c9a1ba64f"></a><span class="identifier">clear</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1aa1f2bc731c6cb2efd5c638a7b59283bb"></a><span class="identifier">swap</span><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> other<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a9b92c9c285f78d24a7a7718936239279"></a><span class="identifier">c_str</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1acb7dc57b6562d98d53d416b2db976757"></a><span class="identifier">native</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">string_view_type</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a620fe6d0a024ddd780bd27f8b7f8bbb9"></a><span class="identifier">native_view</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a7eb537e61c42685cbcf85c4a7cf4fd74"></a><span class="keyword">operator</span> <span class="identifier">string_type</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a4f06b83edec9b93eb8b95ec4bef524ed"></a><span class="keyword">operator</span> <span class="identifier">string_view_type</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ae863bd65d68e7fd8b25ebe3f4444e90d"></a><span class="identifier">compare</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key.html" title="Struct key">key</a> <span class="special">&amp;</span> p<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1acbe35ae0ca718327949bb07b7dc3cc4a"></a><span class="identifier">compare</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> str<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a1b4bfe4eb77ebf5b5438d7ab6b9cd5c2"></a><span class="identifier">compare</span><span class="special">(</span><span class="identifier">string_view_type</span> str<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ab1fa5c43629d4e2c06c843abfc284f9b"></a><span class="identifier">compare</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> s<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span><span class="special">,</span> 
         <span class="keyword">typename</span> Alloc <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">allocator</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span> <span class="special">&gt;</span> 
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">&gt;</span> 
  <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1af438c55e7905df00709fdb8f08a33a1c"></a><span class="identifier">basic_string</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Alloc</span> <span class="special">&amp;</span> alloc <span class="special">=</span> <span class="identifier">Alloc</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a43e1e7aa42a3f40a34bbd20984d947c2"></a><span class="identifier">string</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1aab1fa03b990758eebea05c274da15464"></a><span class="identifier">wstring</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a58a7b72bc43758e09a49323259b936b3"></a><span class="identifier">native_string</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1ae8387f4df275387ff638e0d4c5d9e474"></a><span class="identifier">empty</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1a67bc3d978c6e0f28b7ef49642648830d"></a><span class="identifier">data</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key_1af80ac3529d042c25a7ac8ac91f16e8d9"></a><span class="identifier">size</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2006-2012 Julio M. Merino Vidal, Ilya Sokolov,
      Felipe Tanus, Jeff Flinn, Boris Schaeling<br>Copyright © 2016 Klemens D. Morgenstern<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1process_1_1v2_1_1environment_1_1current__view_1_1iterator.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost_process/v2.html#doxygen.environment_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
